package com.gcit.seniorWish.web.modular.examinee.dao;

import java.io.IOException;
import java.util.List;
import java.util.Map;

import com.baomidou.mybatisplus.mapper.EntityWrapper;
import com.gcit.seniorWish.web.common.persistence.model.SeniorExaminee;
import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.plugins.pagination.Pagination;

import javax.servlet.http.HttpServletResponse;

/**
 * 学校相关的dao
 */
public interface SeniorExamineeDao {

	/**
	 * 关联学校,班级根据不同的登录角色查询数据
	 *
	 * @param page
	 * @param seniorSchoolId
	 * @param seniorClassId
	 * @param examCardNumber
	 * @param confirmStatus
	 * @return
	 */
	List<Map<String, Object>> getExaminees(Pagination page, @Param("seniorSchoolId") String seniorSchoolId, @Param("seniorClassId") String seniorClassId,
	                                       @Param("examCardNumber") String examCardNumber, @Param("confirmStatus") String confirmStatus);

	/**
	 * 根据考生id列表查询学生的填报志愿列表
	 *
	 * @param examineeIdList 考生id列表
	 * @author gaozhichang
	 * @date 2018-03-26 下午 5:16
	 */
	List<SeniorExaminee> listSeniorExamineeWithSeniorWish(@Param("examineeIdList") List<String> examineeIdList);


	/**
	 * 导出志愿信息
	 * @author cuiyushu
	 * @date 2018-03-28 上午 9:38
	 */
	List<SeniorExaminee> listSeniorExamineeExport(@Param("seniorSchoolId") String seniorSchoolId, @Param("seniorClassId")String seniorClassId, @Param("examCardNumber")String examCardNumber,@Param("confirmStatus") Integer confirmStatus);


}
